package com.example.restaurant.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.restaurant.entity.Chat;
import com.example.restaurant.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @BelongsProject: chat
 * @BelongsPackage: com.example.restaurant.mapper
 * @Author: chenAng
 * @CreateTime: 2023-12-12  19:38
 * @Version: 1.0
 */
@Mapper
public interface ChatMapper extends BaseMapper<Chat> {
    List<Chat> getOldChatList(User user);
}
